﻿#define FUNMODE

using System;
using System.Collections.Generic;
using System.Text;
using System.Reflection;

namespace ipi.MCC.Global
{
    public partial class Exceptions
    {
        private static int GetExceptionNumber(Exception exc)
        {
            int iResult = 0;
            if (exc is NullReferenceException)
            {
                iResult = 1;
            }
            else if (exc is IndexOutOfRangeException)
            {
                iResult = 2;
            }
            else if (exc is UserHandlingException)
            {
                iResult = 99;
            }

            return iResult;
        }
        
        private static int GetNamespaceNumber(string Namespace)
        {
            int iResult = 0;
            switch (Namespace)
            {
		case "ipi.MCC.Pages":
			iResult = 1;
			break;

		case "ipi.MCC":
			iResult = 2;
			break;

		case "ipi.MCC.Controls":
			iResult = 3;
			break;

		case "ipi.MCC.CustomFieldTypes":
			iResult = 4;
			break;

		case "ipi.MCC.WebParts":
			iResult = 5;
			break;

		case "ipi.MCC.Resources":
			iResult = 6;
			break;

		case "ipi.MCC.Features.MCCFileLibrary.Resources":
			iResult = 7;
			break;

		case "ipi.MCC.Features.MCCMetaData.Resources":
			iResult = 8;
			break;

		case "ipi.MCC.Features.MCCTreeList.Resources":
			iResult = 9;
			break;

		case "ipi.MCC.Features.MCCContractCenter.Resources":
			iResult = 10;
			break;

		case "ipi.MCC.Features.EventHandler":
			iResult = 11;
			break;

		case "ipi.MCC.Global":
			iResult = 12;
			break;

		case "ipi.MCC.Global.Resources":
			iResult = 13;
			break;

                
                default:
                    iResult = 0;
                    break;
            }
            return iResult;
        }

        private static int GetClassNumber(string Class)
        {
            int iResult = 0;
            switch (Class)
            {
		case "SitesTreeControl":
			iResult = 1;
			break;

		case "AddChildToTree":
			iResult = 2;
			break;

		case "MCCTreeSitesControl":
			iResult = 3;
			break;

		case "MCCAjaxBaseControl":
			iResult = 4;
			break;

		case "MCCAjaxBaseWebPart":
			iResult = 5;
			break;

		case "MCCAjaxBase":
			iResult = 6;
			break;

		case "PeoplePicker":
			iResult = 7;
			break;

		case "MCCTreePositionFieldControl":
			iResult = 8;
			break;

		case "MCCDocumentViewControl":
			iResult = 9;
			break;

		case "MCCTreePositionFieldEditControl":
			iResult = 10;
			break;

		case "MCCTreeViewToolPart":
			iResult = 11;
			break;

		case "MCCTreeControl":
			iResult = 12;
			break;

		case "MCCDocumentView":
			iResult = 13;
			break;

		case "IMCCSelectNode":
			iResult = 14;
			break;

		case "MCCTreeView":
			iResult = 15;
			break;

		case "MCCTreePositionField":
			iResult = 16;
			break;

		case "OnTreeChangedHandler":
			iResult = 17;
			break;

		case "MCCTreeAdminControl":
			iResult = 18;
			break;

		case "Resources":
			iResult = 19;
			break;

		case "OnNodeSelectedHandler":
			iResult = 20;
			break;

		case "MCCListSettings":
			iResult = 21;
			break;

		case "MCCAdministrationPage":
			iResult = 22;
			break;

		case "OnNavigationSelectedHandler":
			iResult = 23;
			break;

		case "MCCTreePath":
			iResult = 24;
			break;

		case "MCCTreeStartPositionControl":
			iResult = 25;
			break;

		case "TreeStructureChangedTypes":
			iResult = 26;
			break;

		case "MCCTreeEditControl":
			iResult = 27;
			break;

		case "MCCMetaData":
			iResult = 28;
			break;

		case "MCCResources":
			iResult = 29;
			break;

		case "HandleCache":
			iResult = 30;
			break;

		case "LoggingType":
			iResult = 31;
			break;

		case "HandleCacheType":
			iResult = 32;
			break;

		case "Exceptions":
			iResult = 33;
			break;

		case "Constants":
			iResult = 34;
			break;

		case "Functions":
			iResult = 35;
			break;

		case "WebSettings":
			iResult = 36;
			break;

		case "TreeListAccessDeniedException":
			iResult = 37;
			break;

		case "<>c__DisplayClass1":
			iResult = 38;
			break;
                
                default:
                    iResult = 0;
                    break;
            }
            return iResult;
        }

        private static int GetMethodNumber(string Method)
        {
            int iResult = 0;
            switch (Method)
            {
		case "set_CheckedItems":
			iResult = 1;
			break;

		case "get_CheckedItems":
			iResult = 2;
			break;

		case "set_SelectAction":
			iResult = 3;
			break;

		case "get_SelectAction":
			iResult = 4;
			break;

		case "set_ShowCheckBoxes":
			iResult = 5;
			break;

		case "get_ShowCheckBoxes":
			iResult = 6;
			break;

		case "FillTree":
			iResult = 7;
			break;

		case "get_Attributes":
			iResult = 8;
			break;

		case "get_Application":
			iResult = 9;
			break;

		case "get_Trace":
			iResult = 10;
			break;

		case "get_Request":
			iResult = 11;
			break;

		case "get_Response":
			iResult = 12;
			break;

		case "get_Server":
			iResult = 13;
			break;

		case "get_Cache":
			iResult = 14;
			break;

		case "get_CachePolicy":
			iResult = 15;
			break;

		case "get_IsPostBack":
			iResult = 16;
			break;

		case "get_Session":
			iResult = 17;
			break;

		case "DesignerInitialize":
			iResult = 18;
			break;

		case "InitializeAsUserControl":
			iResult = 19;
			break;

		case "MapPath":
			iResult = 20;
			break;

		case "add_CommitTransaction":
			iResult = 21;
			break;

		case "remove_CommitTransaction":
			iResult = 22;
			break;

		case "get_EnableTheming":
			iResult = 23;
			break;

		case "set_EnableTheming":
			iResult = 24;
			break;

		case "add_AbortTransaction":
			iResult = 25;
			break;

		case "remove_AbortTransaction":
			iResult = 26;
			break;

		case "add_Error":
			iResult = 27;
			break;

		case "remove_Error":
			iResult = 28;
			break;

		case "ReadStringResource":
			iResult = 29;
			break;

		case "get_AppRelativeVirtualPath":
			iResult = 30;
			break;

		case "set_AppRelativeVirtualPath":
			iResult = 31;
			break;

		case "TestDeviceFilter":
			iResult = 32;
			break;

		case "LoadControl":
			iResult = 33;
			break;

		case "LoadTemplate":
			iResult = 34;
			break;

		case "ParseControl":
			iResult = 35;
			break;

		case "get_ClientID":
			iResult = 36;
			break;

		case "add_Disposed":
			iResult = 37;
			break;

		case "remove_Disposed":
			iResult = 38;
			break;

		case "get_ID":
			iResult = 39;
			break;

		case "set_ID":
			iResult = 40;
			break;

		case "get_SkinID":
			iResult = 41;
			break;

		case "set_SkinID":
			iResult = 42;
			break;

		case "get_EnableViewState":
			iResult = 43;
			break;

		case "set_EnableViewState":
			iResult = 44;
			break;

		case "get_NamingContainer":
			iResult = 45;
			break;

		case "get_BindingContainer":
			iResult = 46;
			break;

		case "get_Page":
			iResult = 47;
			break;

		case "set_Page":
			iResult = 48;
			break;

		case "get_TemplateControl":
			iResult = 49;
			break;

		case "set_TemplateControl":
			iResult = 50;
			break;

		case "get_Parent":
			iResult = 51;
			break;

		case "get_TemplateSourceDirectory":
			iResult = 52;
			break;

		case "get_AppRelativeTemplateSourceDirectory":
			iResult = 53;
			break;

		case "set_AppRelativeTemplateSourceDirectory":
			iResult = 54;
			break;

		case "get_Site":
			iResult = 55;
			break;

		case "set_Site":
			iResult = 56;
			break;

		case "get_Visible":
			iResult = 57;
			break;

		case "set_Visible":
			iResult = 58;
			break;

		case "get_UniqueID":
			iResult = 59;
			break;

		case "add_DataBinding":
			iResult = 60;
			break;

		case "remove_DataBinding":
			iResult = 61;
			break;

		case "add_Init":
			iResult = 62;
			break;

		case "remove_Init":
			iResult = 63;
			break;

		case "add_Load":
			iResult = 64;
			break;

		case "remove_Load":
			iResult = 65;
			break;

		case "add_PreRender":
			iResult = 66;
			break;

		case "remove_PreRender":
			iResult = 67;
			break;

		case "add_Unload":
			iResult = 68;
			break;

		case "remove_Unload":
			iResult = 69;
			break;

		case "ApplyStyleSheetSkin":
			iResult = 70;
			break;

		case "DataBind":
			iResult = 71;
			break;

		case "Focus":
			iResult = 72;
			break;

		case "RenderControl":
			iResult = 73;
			break;

		case "Dispose":
			iResult = 74;
			break;

		case "get_Controls":
			iResult = 75;
			break;

		case "ResolveUrl":
			iResult = 76;
			break;

		case "ResolveClientUrl":
			iResult = 77;
			break;

		case "FindControl":
			iResult = 78;
			break;

		case "HasControls":
			iResult = 79;
			break;

		case "SetRenderMethodDelegate":
			iResult = 80;
			break;

		case "GetType":
			iResult = 81;
			break;

		case "ToString":
			iResult = 82;
			break;

		case "Equals":
			iResult = 83;
			break;

		case "GetHashCode":
			iResult = 84;
			break;

		case "Invoke":
			iResult = 85;
			break;

		case "BeginInvoke":
			iResult = 86;
			break;

		case "EndInvoke":
			iResult = 87;
			break;

		case "GetObjectData":
			iResult = 88;
			break;

		case "GetInvocationList":
			iResult = 89;
			break;

		case "DynamicInvoke":
			iResult = 90;
			break;

		case "get_Method":
			iResult = 91;
			break;

		case "get_Target":
			iResult = 92;
			break;

		case "Clone":
			iResult = 93;
			break;

		case "GetRequiresData":
			iResult = 94;
			break;

		case "GetData":
			iResult = 95;
			break;

		case "EnsureInterfaces":
			iResult = 96;
			break;

		case "GetInitEventArgs":
			iResult = 97;
			break;

		case "CanRunAt":
			iResult = 98;
			break;

		case "PartCommunicationConnect":
			iResult = 99;
			break;

		case "PartCommunicationInit":
			iResult = 100;
			break;

		case "PartCommunicationMain":
			iResult = 101;
			break;

		case "set_Title":
			iResult = 102;
			break;

		case "get_Title":
			iResult = 103;
			break;

		case "set_FrameType":
			iResult = 104;
			break;

		case "get_FrameType":
			iResult = 105;
			break;

		case "set_SuppressWebPartChrome":
			iResult = 106;
			break;

		case "get_SuppressWebPartChrome":
			iResult = 107;
			break;

		case "set_Description":
			iResult = 108;
			break;

		case "get_Description":
			iResult = 109;
			break;

		case "set_IsIncluded":
			iResult = 110;
			break;

		case "get_IsIncluded":
			iResult = 111;
			break;

		case "set_ZoneID":
			iResult = 112;
			break;

		case "get_ZoneID":
			iResult = 113;
			break;

		case "set_PartOrder":
			iResult = 114;
			break;

		case "get_PartOrder":
			iResult = 115;
			break;

		case "set_FrameState":
			iResult = 116;
			break;

		case "get_FrameState":
			iResult = 117;
			break;

		case "set_Height":
			iResult = 118;
			break;

		case "get_Height":
			iResult = 119;
			break;

		case "set_Width":
			iResult = 120;
			break;

		case "get_Width":
			iResult = 121;
			break;

		case "set_AllowRemove":
			iResult = 122;
			break;

		case "get_AllowRemove":
			iResult = 123;
			break;

		case "set_AllowZoneChange":
			iResult = 124;
			break;

		case "get_AllowZoneChange":
			iResult = 125;
			break;

		case "set_AllowMinimize":
			iResult = 126;
			break;

		case "get_AllowMinimize":
			iResult = 127;
			break;

		case "set_AllowConnect":
			iResult = 128;
			break;

		case "get_AllowConnect":
			iResult = 129;
			break;

		case "set_AllowEdit":
			iResult = 130;
			break;

		case "get_AllowEdit":
			iResult = 131;
			break;

		case "set_AllowHide":
			iResult = 132;
			break;

		case "get_AllowHide":
			iResult = 133;
			break;

		case "set_IsVisible":
			iResult = 134;
			break;

		case "get_IsVisible":
			iResult = 135;
			break;

		case "set_Hidden":
			iResult = 136;
			break;

		case "get_Hidden":
			iResult = 137;
			break;

		case "set_CatalogIconImageUrl":
			iResult = 138;
			break;

		case "get_CatalogIconImageUrl":
			iResult = 139;
			break;

		case "set_TitleIconImageUrl":
			iResult = 140;
			break;

		case "get_TitleIconImageUrl":
			iResult = 141;
			break;

		case "set_TitleUrl":
			iResult = 142;
			break;

		case "get_TitleUrl":
			iResult = 143;
			break;

		case "set_DetailLink":
			iResult = 144;
			break;

		case "get_DetailLink":
			iResult = 145;
			break;

		case "set_HelpUrl":
			iResult = 146;
			break;

		case "get_HelpUrl":
			iResult = 147;
			break;

		case "set_HelpLink":
			iResult = 148;
			break;

		case "get_HelpLink":
			iResult = 149;
			break;

		case "get_HelpMode":
			iResult = 150;
			break;

		case "set_HelpMode":
			iResult = 151;
			break;

		case "get_Dir":
			iResult = 152;
			break;

		case "set_Dir":
			iResult = 153;
			break;

		case "set_PartImageSmall":
			iResult = 154;
			break;

		case "get_PartImageSmall":
			iResult = 155;
			break;

		case "set_MissingAssembly":
			iResult = 156;
			break;

		case "get_MissingAssembly":
			iResult = 157;
			break;

		case "set_PartImageLarge":
			iResult = 158;
			break;

		case "get_PartImageLarge":
			iResult = 159;
			break;

		case "set_IsIncludedFilter":
			iResult = 160;
			break;

		case "get_IsIncludedFilter":
			iResult = 161;
			break;

		case "set_AuthorizationFilter":
			iResult = 162;
			break;

		case "get_AuthorizationFilter":
			iResult = 163;
			break;

		case "set_ExportControlledProperties":
			iResult = 164;
			break;

		case "get_ExportControlledProperties":
			iResult = 165;
			break;

		case "get_ConnectionID":
			iResult = 166;
			break;

		case "set_ConnectionID":
			iResult = 167;
			break;

		case "get_StorageKey":
			iResult = 168;
			break;

		case "get_Connections":
			iResult = 169;
			break;

		case "set_Connections":
			iResult = 170;
			break;

		case "get_UnknownXmlElements":
			iResult = 171;
			break;

		case "get_SerializedAttachedPropertiesShared":
			iResult = 172;
			break;

		case "set_SerializedAttachedPropertiesShared":
			iResult = 173;
			break;

		case "get_SerializedAttachedPropertiesUser":
			iResult = 174;
			break;

		case "set_SerializedAttachedPropertiesUser":
			iResult = 175;
			break;

		case "set_UseDefaultStyles":
			iResult = 176;
			break;

		case "get_UseDefaultStyles":
			iResult = 177;
			break;

		case "get_Qualifier":
			iResult = 178;
			break;

		case "get_ClientName":
			iResult = 179;
			break;

		case "get_Caption":
			iResult = 180;
			break;

		case "set_Caption":
			iResult = 181;
			break;

		case "get_Subtitle":
			iResult = 182;
			break;

		case "get_Permissions":
			iResult = 183;
			break;

		case "get_BrowserDesignMode":
			iResult = 184;
			break;

		case "get_EffectiveTitle":
			iResult = 185;
			break;

		case "get_EffectiveStorage":
			iResult = 186;
			break;

		case "AfterDeserialize":
			iResult = 187;
			break;

		case "ShouldSerializeTitle":
			iResult = 188;
			break;

		case "ShouldSerializeFrameType":
			iResult = 189;
			break;

		case "ShouldSerializeDescription":
			iResult = 190;
			break;

		case "ShouldSerializeIsIncluded":
			iResult = 191;
			break;

		case "ShouldSerializeZoneID":
			iResult = 192;
			break;

		case "ShouldSerializePartOrder":
			iResult = 193;
			break;

		case "ShouldSerializeFrameState":
			iResult = 194;
			break;

		case "ShouldSerializeHeight":
			iResult = 195;
			break;

		case "ShouldSerializeWidth":
			iResult = 196;
			break;

		case "ShouldSerializeAllowRemove":
			iResult = 197;
			break;

		case "ShouldSerializeAllowZoneChange":
			iResult = 198;
			break;

		case "ShouldSerializeAllowMinimize":
			iResult = 199;
			break;

		case "ShouldSerializeAllowConnect":
			iResult = 200;
			break;

		case "ShouldSerializeAllowEdit":
			iResult = 201;
			break;

		case "ShouldSerializeAllowHide":
			iResult = 202;
			break;

		case "ShouldSerializeIsVisible":
			iResult = 203;
			break;

		case "ShouldSerializeDetailLink":
			iResult = 204;
			break;

		case "ShouldSerializeHelpLink":
			iResult = 205;
			break;

		case "ShouldSerializeHelpMode":
			iResult = 206;
			break;

		case "ShouldSerializeDir":
			iResult = 207;
			break;

		case "ShouldSerializePartImageSmall":
			iResult = 208;
			break;

		case "ShouldSerializeMissingAssembly":
			iResult = 209;
			break;

		case "ShouldSerializePartImageLarge":
			iResult = 210;
			break;

		case "ShouldSerializeIsIncludedFilter":
			iResult = 211;
			break;

		case "ShouldSerializeExportControlledProperties":
			iResult = 212;
			break;

		case "ShouldSerializeConnectionID":
			iResult = 213;
			break;

		case "ShouldSerializeConnections":
			iResult = 214;
			break;

		case "ShouldSerializeID":
			iResult = 215;
			break;

		case "get_EffectiveFrameType":
			iResult = 216;
			break;

		case "CreateWebPartMenu":
			iResult = 217;
			break;

		case "GetDesignTimeHeader":
			iResult = 218;
			break;

		case "GetDesignTimeFooter":
			iResult = 219;
			break;

		case "LoadResource":
			iResult = 220;
			break;

		case "GetToolParts":
			iResult = 221;
			break;

		case "PartCacheInvalidate":
			iResult = 222;
			break;

		case "get_AllowClose":
			iResult = 223;
			break;

		case "set_AllowClose":
			iResult = 224;
			break;

		case "get_ChromeState":
			iResult = 225;
			break;

		case "set_ChromeState":
			iResult = 226;
			break;

		case "get_ChromeType":
			iResult = 227;
			break;

		case "set_ChromeType":
			iResult = 228;
			break;

		case "get_ConnectErrorMessage":
			iResult = 229;
			break;

		case "get_Direction":
			iResult = 230;
			break;

		case "set_Direction":
			iResult = 231;
			break;

		case "get_DisplayTitle":
			iResult = 232;
			break;

		case "get_ExportMode":
			iResult = 233;
			break;

		case "set_ExportMode":
			iResult = 234;
			break;

		case "get_HasUserData":
			iResult = 235;
			break;

		case "get_HasSharedData":
			iResult = 236;
			break;

		case "get_IsClosed":
			iResult = 237;
			break;

		case "get_ImportErrorMessage":
			iResult = 238;
			break;

		case "set_ImportErrorMessage":
			iResult = 239;
			break;

		case "get_IsShared":
			iResult = 240;
			break;

		case "get_IsStandalone":
			iResult = 241;
			break;

		case "get_IsStatic":
			iResult = 242;
			break;

		case "get_Verbs":
			iResult = 243;
			break;

		case "get_WebBrowsableObject":
			iResult = 244;
			break;

		case "get_Zone":
			iResult = 245;
			break;

		case "get_ZoneIndex":
			iResult = 246;
			break;

		case "CreateEditorParts":
			iResult = 247;
			break;

		case "get_BackImageUrl":
			iResult = 248;
			break;

		case "set_BackImageUrl":
			iResult = 249;
			break;

		case "get_DefaultButton":
			iResult = 250;
			break;

		case "set_DefaultButton":
			iResult = 251;
			break;

		case "get_GroupingText":
			iResult = 252;
			break;

		case "set_GroupingText":
			iResult = 253;
			break;

		case "get_HorizontalAlign":
			iResult = 254;
			break;

		case "set_HorizontalAlign":
			iResult = 255;
			break;

		case "get_ScrollBars":
			iResult = 256;
			break;

		case "set_ScrollBars":
			iResult = 257;
			break;

		case "get_Wrap":
			iResult = 258;
			break;

		case "set_Wrap":
			iResult = 259;
			break;

		case "RenderBeginTag":
			iResult = 260;
			break;

		case "RenderEndTag":
			iResult = 261;
			break;

		case "get_AccessKey":
			iResult = 262;
			break;

		case "set_AccessKey":
			iResult = 263;
			break;

		case "get_BackColor":
			iResult = 264;
			break;

		case "set_BackColor":
			iResult = 265;
			break;

		case "get_BorderColor":
			iResult = 266;
			break;

		case "set_BorderColor":
			iResult = 267;
			break;

		case "get_BorderWidth":
			iResult = 268;
			break;

		case "set_BorderWidth":
			iResult = 269;
			break;

		case "get_BorderStyle":
			iResult = 270;
			break;

		case "set_BorderStyle":
			iResult = 271;
			break;

		case "get_ControlStyle":
			iResult = 272;
			break;

		case "get_ControlStyleCreated":
			iResult = 273;
			break;

		case "get_CssClass":
			iResult = 274;
			break;

		case "set_CssClass":
			iResult = 275;
			break;

		case "get_Style":
			iResult = 276;
			break;

		case "get_Enabled":
			iResult = 277;
			break;

		case "set_Enabled":
			iResult = 278;
			break;

		case "get_Font":
			iResult = 279;
			break;

		case "get_ForeColor":
			iResult = 280;
			break;

		case "set_ForeColor":
			iResult = 281;
			break;

		case "get_HasAttributes":
			iResult = 282;
			break;

		case "get_TabIndex":
			iResult = 283;
			break;

		case "set_TabIndex":
			iResult = 284;
			break;

		case "get_ToolTip":
			iResult = 285;
			break;

		case "set_ToolTip":
			iResult = 286;
			break;

		case "ApplyStyle":
			iResult = 287;
			break;

		case "CopyBaseAttributes":
			iResult = 288;
			break;

		case "MergeStyle":
			iResult = 289;
			break;

		case "SetAjax":
			iResult = 290;
			break;

		case "get_IsValid":
			iResult = 291;
			break;

		case "set_AllowTypeIn":
			iResult = 292;
			break;

		case "get_AllowTypeIn":
			iResult = 293;
			break;

		case "set_AllowEmpty":
			iResult = 294;
			break;

		case "get_AllowEmpty":
			iResult = 295;
			break;

		case "set_MultiSelect":
			iResult = 296;
			break;

		case "get_MultiSelect":
			iResult = 297;
			break;

		case "SetValue":
			iResult = 298;
			break;

		case "GetUserData":
			iResult = 299;
			break;

		case "GetValue":
			iResult = 300;
			break;

		case "get_Value":
			iResult = 301;
			break;

		case "set_Value":
			iResult = 302;
			break;

		case "SetStartNodeID":
			iResult = 303;
			break;

		case "Validate":
			iResult = 304;
			break;

		case "set_IsValid":
			iResult = 305;
			break;

		case "get_ErrorMessage":
			iResult = 306;
			break;

		case "set_ErrorMessage":
			iResult = 307;
			break;

		case "get_InputFieldLabel":
			iResult = 308;
			break;

		case "set_InputFieldLabel":
			iResult = 309;
			break;

		case "get_DisableInputFieldLabel":
			iResult = 310;
			break;

		case "set_DisableInputFieldLabel":
			iResult = 311;
			break;

		case "get_ItemFieldValue":
			iResult = 312;
			break;

		case "set_ItemFieldValue":
			iResult = 313;
			break;

		case "get_ListItemFieldValue":
			iResult = 314;
			break;

		case "set_ListItemFieldValue":
			iResult = 315;
			break;

		case "get_DisplayTemplateName":
			iResult = 316;
			break;

		case "set_DisplayTemplateName":
			iResult = 317;
			break;

		case "get_DisplayTemplate":
			iResult = 318;
			break;

		case "set_DisplayTemplate":
			iResult = 319;
			break;

		case "UpdateFieldValueInItem":
			iResult = 320;
			break;

		case "get_FieldName":
			iResult = 321;
			break;

		case "set_FieldName":
			iResult = 322;
			break;

		case "get_Field":
			iResult = 323;
			break;

		case "get_DisplaySize":
			iResult = 324;
			break;

		case "set_DisplaySize":
			iResult = 325;
			break;

		case "get_ControlMode":
			iResult = 326;
			break;

		case "set_ControlMode":
			iResult = 327;
			break;

		case "get_ItemContext":
			iResult = 328;
			break;

		case "set_ItemContext":
			iResult = 329;
			break;

		case "get_ListId":
			iResult = 330;
			break;

		case "set_ListId":
			iResult = 331;
			break;

		case "get_ItemId":
			iResult = 332;
			break;

		case "set_ItemId":
			iResult = 333;
			break;

		case "get_RecurrenceID":
			iResult = 334;
			break;

		case "set_RecurrenceID":
			iResult = 335;
			break;

		case "get_List":
			iResult = 336;
			break;

		case "get_Item":
			iResult = 337;
			break;

		case "get_ListItem":
			iResult = 338;
			break;

		case "get_RedirectUrl":
			iResult = 339;
			break;

		case "set_RedirectUrl":
			iResult = 340;
			break;

		case "get_Fields":
			iResult = 341;
			break;

		case "get_RenderContext":
			iResult = 342;
			break;

		case "set_RenderContext":
			iResult = 343;
			break;

		case "get_Web":
			iResult = 344;
			break;

		case "get_TemplateName":
			iResult = 345;
			break;

		case "set_TemplateName":
			iResult = 346;
			break;

		case "get_AlternateTemplateName":
			iResult = 347;
			break;

		case "set_AlternateTemplateName":
			iResult = 348;
			break;

		case "get_Template":
			iResult = 349;
			break;

		case "set_Template":
			iResult = 350;
			break;

		case "get_CustomTemplate":
			iResult = 351;
			break;

		case "set_CustomTemplate":
			iResult = 352;
			break;

		case "get_AlternateTemplate":
			iResult = 353;
			break;

		case "set_AlternateTemplate":
			iResult = 354;
			break;

		case "get_CustomAlternateTemplate":
			iResult = 355;
			break;

		case "set_CustomAlternateTemplate":
			iResult = 356;
			break;

		case "get_TemplateContainer":
			iResult = 357;
			break;

		case "get_InDesign":
			iResult = 358;
			break;

		case "set_InDesign":
			iResult = 359;
			break;

		case "get_PageUri":
			iResult = 360;
			break;

		case "set_PageUri":
			iResult = 361;
			break;

		case "GetDesignTimeHtml":
			iResult = 362;
			break;

		case "get_SelectedNode":
			iResult = 363;
			break;

		case "set_SelectedNode":
			iResult = 364;
			break;

		case "get_PagingCount":
			iResult = 365;
			break;

		case "set_PagingCount":
			iResult = 366;
			break;

		case "get_EnablePaging":
			iResult = 367;
			break;

		case "set_EnablePaging":
			iResult = 368;
			break;

		case "get_DisplayAsNewSection":
			iResult = 369;
			break;

		case "InitializeWithField":
			iResult = 370;
			break;

		case "OnSaveChange":
			iResult = 371;
			break;

		case "ApplyChanges":
			iResult = 372;
			break;

		case "get_Display":
			iResult = 373;
			break;

		case "set_ErrorText":
			iResult = 374;
			break;

		case "get_ErrorText":
			iResult = 375;
			break;

		case "CancelChanges":
			iResult = 376;
			break;

		case "SyncChanges":
			iResult = 377;
			break;

		case "CheckedNodes":
			iResult = 378;
			break;

		case "SetToCheckNodeID":
			iResult = 379;
			break;

		case "get_Checkable":
			iResult = 380;
			break;

		case "set_Checkable":
			iResult = 381;
			break;

		case "NodeChecked":
			iResult = 382;
			break;

		case "add_OnNodeSelected":
			iResult = 383;
			break;

		case "remove_OnNodeSelected":
			iResult = 384;
			break;

		case "set_RootNode":
			iResult = 385;
			break;

		case "get_RootNode":
			iResult = 386;
			break;

		case "set_StartNodeID":
			iResult = 387;
			break;

		case "get_StartNodeID":
			iResult = 388;
			break;

		case "set_PreSelected":
			iResult = 389;
			break;

		case "get_PreSelected":
			iResult = 390;
			break;

		case "GetTreeTable":
			iResult = 391;
			break;

		case "CreateNewTree":
			iResult = 392;
			break;

		case "CreateTree":
			iResult = 393;
			break;

		case "SelectNode":
			iResult = 394;
			break;

		case "GetConnectionInterface":
			iResult = 395;
			break;

		case "get_GetNodeID":
			iResult = 396;
			break;

		case "ForceRefresh":
			iResult = 397;
			break;

		case "ConnectionInterface":
			iResult = 398;
			break;

		case "get_StartNode":
			iResult = 399;
			break;

		case "set_StartNode":
			iResult = 400;
			break;

		case "get_FieldRenderingControl":
			iResult = 401;
			break;

		case "Update":
			iResult = 402;
			break;

		case "get_FieldValueType":
			iResult = 403;
			break;

		case "get_PreviewValueTyped":
			iResult = 404;
			break;

		case "get_FieldRenderingMobileControl":
			iResult = 405;
			break;

		case "get_FillInChoice":
			iResult = 406;
			break;

		case "set_FillInChoice":
			iResult = 407;
			break;

		case "get_Choices":
			iResult = 408;
			break;

		case "get_Mappings":
			iResult = 409;
			break;

		case "get_Sortable":
			iResult = 410;
			break;

		case "GetFieldValue":
			iResult = 411;
			break;

		case "GetFieldValueAsText":
			iResult = 412;
			break;

		case "get_FieldTypeDefinition":
			iResult = 413;
			break;

		case "get_TypeDisplayName":
			iResult = 414;
			break;

		case "get_XPath":
			iResult = 415;
			break;

		case "set_XPath":
			iResult = 416;
			break;

		case "get_AggregationFunction":
			iResult = 417;
			break;

		case "set_AggregationFunction":
			iResult = 418;
			break;

		case "get_PrimaryPITarget":
			iResult = 419;
			break;

		case "set_PrimaryPITarget":
			iResult = 420;
			break;

		case "get_PrimaryPIAttribute":
			iResult = 421;
			break;

		case "set_PrimaryPIAttribute":
			iResult = 422;
			break;

		case "get_PITarget":
			iResult = 423;
			break;

		case "set_PITarget":
			iResult = 424;
			break;

		case "get_PIAttribute":
			iResult = 425;
			break;

		case "set_PIAttribute":
			iResult = 426;
			break;

		case "get_TypeShortDescription":
			iResult = 427;
			break;

		case "get_ParentList":
			iResult = 428;
			break;

		case "get_InternalName":
			iResult = 429;
			break;

		case "get_Id":
			iResult = 430;
			break;

		case "get_Indexed":
			iResult = 431;
			break;

		case "set_Indexed":
			iResult = 432;
			break;

		case "get_NoCrawl":
			iResult = 433;
			break;

		case "set_NoCrawl":
			iResult = 434;
			break;

		case "get_AuthoringInfo":
			iResult = 435;
			break;

		case "get_RelatedField":
			iResult = 436;
			break;

		case "set_RelatedField":
			iResult = 437;
			break;

		case "get_Group":
			iResult = 438;
			break;

		case "set_Group":
			iResult = 439;
			break;

		case "get_DefaultValueTyped":
			iResult = 440;
			break;

		case "get_DefaultValue":
			iResult = 441;
			break;

		case "set_DefaultValue":
			iResult = 442;
			break;

		case "get_DefaultFormula":
			iResult = 443;
			break;

		case "set_DefaultFormula":
			iResult = 444;
			break;

		case "get_Type":
			iResult = 445;
			break;

		case "set_Type":
			iResult = 446;
			break;

		case "get_TypeAsString":
			iResult = 447;
			break;

		case "get_ShowInDisplayForm":
			iResult = 448;
			break;

		case "set_ShowInDisplayForm":
			iResult = 449;
			break;

		case "get_ShowInEditForm":
			iResult = 450;
			break;

		case "set_ShowInEditForm":
			iResult = 451;
			break;

		case "get_ShowInListSettings":
			iResult = 452;
			break;

		case "set_ShowInListSettings":
			iResult = 453;
			break;

		case "get_ShowInNewForm":
			iResult = 454;
			break;

		case "set_ShowInNewForm":
			iResult = 455;
			break;

		case "get_ShowInViewForms":
			iResult = 456;
			break;

		case "set_ShowInViewForms":
			iResult = 457;
			break;

		case "get_FromBaseType":
			iResult = 458;
			break;

		case "get_Sealed":
			iResult = 459;
			break;

		case "set_Sealed":
			iResult = 460;
			break;

		case "get_CanBeDeleted":
			iResult = 461;
			break;

		case "get_AllowDeletion":
			iResult = 462;
			break;

		case "set_AllowDeletion":
			iResult = 463;
			break;

		case "get_CanToggleHidden":
			iResult = 464;
			break;

		case "get_Required":
			iResult = 465;
			break;

		case "set_Required":
			iResult = 466;
			break;

		case "get_ReadOnlyField":
			iResult = 467;
			break;

		case "set_ReadOnlyField":
			iResult = 468;
			break;

		case "get_JumpToField":
			iResult = 469;
			break;

		case "set_JumpToField":
			iResult = 470;
			break;

		case "get_IMEMode":
			iResult = 471;
			break;

		case "set_IMEMode":
			iResult = 472;
			break;

		case "get_ShowInVersionHistory":
			iResult = 473;
			break;

		case "set_ShowInVersionHistory":
			iResult = 474;
			break;

		case "get_Filterable":
			iResult = 475;
			break;

		case "get_FilterableNoRecurrence":
			iResult = 476;
			break;

		case "get_Reorderable":
			iResult = 477;
			break;

		case "get_FieldReferences":
			iResult = 478;
			break;

		case "get_SchemaXml":
			iResult = 479;
			break;

		case "set_SchemaXml":
			iResult = 480;
			break;

		case "get_PushChangesToLists":
			iResult = 481;
			break;

		case "set_PushChangesToLists":
			iResult = 482;
			break;

		case "get_Version":
			iResult = 483;
			break;

		case "get_TranslationXml":
			iResult = 484;
			break;

		case "set_TranslationXml":
			iResult = 485;
			break;

		case "get_SourceId":
			iResult = 486;
			break;

		case "get_StaticName":
			iResult = 487;
			break;

		case "set_StaticName":
			iResult = 488;
			break;

		case "get_UsedInWebContentTypes":
			iResult = 489;
			break;

		case "get_Scope":
			iResult = 490;
			break;

		case "GetFieldValueAsHtml":
			iResult = 491;
			break;

		case "GetFieldValueForEdit":
			iResult = 492;
			break;

		case "GetValidatedString":
			iResult = 493;
			break;

		case "GetProperty":
			iResult = 494;
			break;

		case "GetCustomProperty":
			iResult = 495;
			break;

		case "SetCustomProperty":
			iResult = 496;
			break;

		case "OnAdded":
			iResult = 497;
			break;

		case "OnUpdated":
			iResult = 498;
			break;

		case "OnDeleting":
			iResult = 499;
			break;

		case "Delete":
			iResult = 500;
			break;

		case "add_OnTreeChanged":
			iResult = 501;
			break;

		case "remove_OnTreeChanged":
			iResult = 502;
			break;

		case "add_OnNavigationSelected":
			iResult = 503;
			break;

		case "remove_OnNavigationSelected":
			iResult = 504;
			break;

		case "get_PageToRedirectOnCancel":
			iResult = 505;
			break;

		case "GetResourceString":
			iResult = 506;
			break;

		case "get_RequestResources":
			iResult = 507;
			break;

		case "StopRequestIfClientIsNotValid":
			iResult = 508;
			break;

		case "VerifyRenderingInServerForm":
			iResult = 509;
			break;

		case "get_PageAdapter":
			iResult = 510;
			break;

		case "get_Items":
			iResult = 511;
			break;

		case "GetDataItem":
			iResult = 512;
			break;

		case "get_ClientScript":
			iResult = 513;
			break;

		case "get_ClientTarget":
			iResult = 514;
			break;

		case "set_ClientTarget":
			iResult = 515;
			break;

		case "get_ClientQueryString":
			iResult = 516;
			break;

		case "get_ErrorPage":
			iResult = 517;
			break;

		case "set_ErrorPage":
			iResult = 518;
			break;

		case "get_IsCallback":
			iResult = 519;
			break;

		case "get_IsReusable":
			iResult = 520;
			break;

		case "get_Header":
			iResult = 521;
			break;

		case "get_IdSeparator":
			iResult = 522;
			break;

		case "get_MaintainScrollPositionOnPostBack":
			iResult = 523;
			break;

		case "set_MaintainScrollPositionOnPostBack":
			iResult = 524;
			break;

		case "get_Master":
			iResult = 525;
			break;

		case "get_MasterPageFile":
			iResult = 526;
			break;

		case "set_MasterPageFile":
			iResult = 527;
			break;

		case "get_MaxPageStateFieldLength":
			iResult = 528;
			break;

		case "set_MaxPageStateFieldLength":
			iResult = 529;
			break;

		case "get_Theme":
			iResult = 530;
			break;

		case "set_Theme":
			iResult = 531;
			break;

		case "get_StyleSheetTheme":
			iResult = 532;
			break;

		case "set_StyleSheetTheme":
			iResult = 533;
			break;

		case "get_User":
			iResult = 534;
			break;

		case "GetTypeHashCode":
			iResult = 535;
			break;

		case "get_IsCrossPagePostBack":
			iResult = 536;
			break;

		case "get_EnableEventValidation":
			iResult = 537;
			break;

		case "set_EnableEventValidation":
			iResult = 538;
			break;

		case "get_ViewStateEncryptionMode":
			iResult = 539;
			break;

		case "set_ViewStateEncryptionMode":
			iResult = 540;
			break;

		case "get_ViewStateUserKey":
			iResult = 541;
			break;

		case "set_ViewStateUserKey":
			iResult = 542;
			break;

		case "SetFocus":
			iResult = 543;
			break;

		case "GetPostBackEventReference":
			iResult = 544;
			break;

		case "GetPostBackClientEvent":
			iResult = 545;
			break;

		case "GetPostBackClientHyperlink":
			iResult = 546;
			break;

		case "IsClientScriptBlockRegistered":
			iResult = 547;
			break;

		case "IsStartupScriptRegistered":
			iResult = 548;
			break;

		case "RegisterArrayDeclaration":
			iResult = 549;
			break;

		case "RegisterHiddenField":
			iResult = 550;
			break;

		case "RegisterClientScriptBlock":
			iResult = 551;
			break;

		case "RegisterStartupScript":
			iResult = 552;
			break;

		case "RegisterOnSubmitStatement":
			iResult = 553;
			break;

		case "RegisterRequiresControlState":
			iResult = 554;
			break;

		case "RequiresControlState":
			iResult = 555;
			break;

		case "UnregisterRequiresControlState":
			iResult = 556;
			break;

		case "RegisterRequiresPostBack":
			iResult = 557;
			break;

		case "RegisterRequiresRaiseEvent":
			iResult = 558;
			break;

		case "get_Validators":
			iResult = 559;
			break;

		case "get_PreviousPage":
			iResult = 560;
			break;

		case "set_Buffer":
			iResult = 561;
			break;

		case "get_Buffer":
			iResult = 562;
			break;

		case "set_ContentType":
			iResult = 563;
			break;

		case "get_ContentType":
			iResult = 564;
			break;

		case "set_CodePage":
			iResult = 565;
			break;

		case "get_CodePage":
			iResult = 566;
			break;

		case "set_ResponseEncoding":
			iResult = 567;
			break;

		case "get_ResponseEncoding":
			iResult = 568;
			break;

		case "set_Culture":
			iResult = 569;
			break;

		case "get_Culture":
			iResult = 570;
			break;

		case "set_LCID":
			iResult = 571;
			break;

		case "get_LCID":
			iResult = 572;
			break;

		case "set_UICulture":
			iResult = 573;
			break;

		case "get_UICulture":
			iResult = 574;
			break;

		case "set_AsyncTimeout":
			iResult = 575;
			break;

		case "get_AsyncTimeout":
			iResult = 576;
			break;

		case "set_TraceEnabled":
			iResult = 577;
			break;

		case "get_TraceEnabled":
			iResult = 578;
			break;

		case "set_TraceModeValue":
			iResult = 579;
			break;

		case "get_TraceModeValue":
			iResult = 580;
			break;

		case "get_EnableViewStateMac":
			iResult = 581;
			break;

		case "set_EnableViewStateMac":
			iResult = 582;
			break;

		case "get_SmartNavigation":
			iResult = 583;
			break;

		case "set_SmartNavigation":
			iResult = 584;
			break;

		case "get_IsAsync":
			iResult = 585;
			break;

		case "add_LoadComplete":
			iResult = 586;
			break;

		case "remove_LoadComplete":
			iResult = 587;
			break;

		case "add_PreInit":
			iResult = 588;
			break;

		case "remove_PreInit":
			iResult = 589;
			break;

		case "add_PreLoad":
			iResult = 590;
			break;

		case "remove_PreLoad":
			iResult = 591;
			break;

		case "add_PreRenderComplete":
			iResult = 592;
			break;

		case "remove_PreRenderComplete":
			iResult = 593;
			break;

		case "add_InitComplete":
			iResult = 594;
			break;

		case "remove_InitComplete":
			iResult = 595;
			break;

		case "RegisterRequiresViewStateEncryption":
			iResult = 596;
			break;

		case "add_SaveStateComplete":
			iResult = 597;
			break;

		case "remove_SaveStateComplete":
			iResult = 598;
			break;

		case "ProcessRequest":
			iResult = 599;
			break;

		case "get_Form":
			iResult = 600;
			break;

		case "RegisterViewStateHandler":
			iResult = 601;
			break;

		case "ExecuteRegisteredAsyncTasks":
			iResult = 602;
			break;

		case "RegisterAsyncTask":
			iResult = 603;
			break;

		case "AddOnPreRenderCompleteAsync":
			iResult = 604;
			break;

		case "GetValidators":
			iResult = 605;
			break;

		case "SetTreePath":
			iResult = 606;
			break;

		case "PreSelectNode":
			iResult = 607;
			break;

		case "GetStartNodeID":
			iResult = 608;
			break;

		case "CompareTo":
			iResult = 609;
			break;

		case "GetTypeCode":
			iResult = 610;
			break;

		case "TreeStructureChanged":
			iResult = 611;
			break;

		case "FeatureInstalled":
			iResult = 612;
			break;

		case "FeatureUninstalling":
			iResult = 613;
			break;

		case "FeatureActivated":
			iResult = 614;
			break;

		case "FeatureDeactivating":
			iResult = 615;
			break;

		case "ClearSiteCache":
			iResult = 616;
			break;

		case "ExistsSettingsForKey":
			iResult = 617;
			break;

		case "HandleException":
			iResult = 618;
			break;

		case "GetMethodPath":
			iResult = 619;
			break;

		case "DecodeErrorNumber":
			iResult = 620;
			break;

		case "get_TreeList_Title":
			iResult = 621;
			break;

		case "WriteEventLog":
			iResult = 622;
			break;

		case "GetTreeList":
			iResult = 623;
			break;

		case "GetSingleTreeNode":
			iResult = 624;
			break;

		case "GetTreeNode":
			iResult = 625;
			break;

		case "GetTreeChildNode":
			iResult = 626;
			break;

		case "GetCurrentDocumentCount":
			iResult = 627;
			break;

		case "GetTreeNodeDataTable":
			iResult = 628;
			break;

		case "get_SiteColumn_TreePosition":
			iResult = 629;
			break;

		case "set_Web":
			iResult = 630;
			break;

		case "ExistsKey":
			iResult = 631;
			break;

		case "get_IsReferenceSet":
			iResult = 632;
			break;

		case "set_IsReferenceSet":
			iResult = 633;
			break;

		case "get_MasterWebURL":
			iResult = 634;
			break;

		case "set_MasterWebURL":
			iResult = 635;
			break;

		case "get_SitesToSearch":
			iResult = 636;
			break;

		case "set_SitesToSearch":
			iResult = 637;
			break;

		case "get_Data":
			iResult = 638;
			break;

		case "GetBaseException":
			iResult = 639;
			break;

		case "get_InnerException":
			iResult = 640;
			break;

		case "get_TargetSite":
			iResult = 641;
			break;

		case "get_StackTrace":
			iResult = 642;
			break;

		case "get_Source":
			iResult = 643;
			break;

		case "set_Source":
			iResult = 644;
			break;

		case "get_Message":
			iResult = 645;
			break;

		case "<WriteLogFile>b__0":
			iResult = 646;
			break;
                
                default:
                    iResult = 0;
                    break;
            }
            return iResult;
        }
    }       
}